package com.gupao.javavip.gof.adapter;

import com.gupao.javavip.gof.strategy.ICalculator;

public class GetMaxNumberStrategyAdapter implements ICalculator {
    @Override
    public int calculate(int num1, int num2) {
        GetMaxNumber getMaxNumber = new GetMaxNumber();
        return getMaxNumber.compare(num1, num2);
    }
}
